package com.aos.erp.schools.model.coach;

import com.aos.erp.schools.enums.student.school.CoachSex;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;


@Getter
@Setter
@TableName("T_COACH")
public class AddCoachRo implements Serializable {
	private static final long serialVersionUID = 1L;
	



    @ApiModelProperty("教练编号")
    private String coachNumber;

    @ApiModelProperty("驾校ID")
    //@NotNull(message = "驾校ID不能为空")
    private long driversSchoolId;

    @ApiModelProperty("性别   男:1;女:2;  未知：3")
    @NotNull(message = "性别不能为空")
    private CoachSex sex = CoachSex.man;

    @ApiModelProperty("姓名")
    @NotNull(message = "姓名不能为空")
    private String name;


    @ApiModelProperty("证件号码")
    @NotNull(message = "证件号码不能为空")
    private String idnum;


    @ApiModelProperty("手机号码")
    @NotNull(message = "手机号码不能为空")
    private String phone;


    @ApiModelProperty("培训科目(1：科目一  ，2：科目二，3：科目三  ，4：科目四）  多选用,隔开   例：2,3")
    @NotNull(message = "培训科目不能为空")
    private String subject;


    @ApiModelProperty("微信号")
    @NotNull(message = "微信号不能为空")
    private String wechat;


    @ApiModelProperty("培训车型  多选  ,隔开 例：C1,C2")
    @NotNull(message = "培训车型不能为空")
    private String trainCartype;


    @ApiModelProperty("教龄")
    @NotNull(message = "教龄不能为空")
    private String teachingage;


    @ApiModelProperty("教练驾驶证车型")
    @NotNull(message = "教练驾驶证车型不能为空")
    private String driversCartype;


    @ApiModelProperty("描述")
    @NotNull(message = "描述不能为空")
    private String coachDescribe;


    @ApiModelProperty("标签 [{'label':'技术一流'},{'label':'诚实可靠'}]")
   // @NotNull(message = "标签不能为空")
    private String label;

    @ApiModelProperty("教练证")
    @NotNull(message = "教练证不能为空")
    private long coachLicense;

    @ApiModelProperty("教练驾驶证")
    @NotNull(message = "教练驾驶证不能为空")
    private long coachCard;

    @ApiModelProperty("教练头像")
    @NotNull(message = "教练头像不能为空")
    private long coachHead ;


    /**
     * 创建人
     * 暂时先写死创建人ID
     */
    private String currentUserId;

    @Override
    public String toString() {
        return "AddCoachRo{" +
                "coachNumber='" + coachNumber + '\'' +
                ", driversSchoolId='" + driversSchoolId + '\'' +
                ", sex=" + sex +
                ", name='" + name + '\'' +
                ", idnum='" + idnum + '\'' +
                ", phone='" + phone + '\'' +
                ", subject='" + subject + '\'' +
                ", wechat='" + wechat + '\'' +
                ", trainCartype='" + trainCartype + '\'' +
                ", teachingage='" + teachingage + '\'' +
                ", driversCartype='" + driversCartype + '\'' +
                ", coachDescribe='" + coachDescribe + '\'' +
                ", label='" + label + '\'' +
                ", coachLicense=" + coachLicense +
                ", coachCard=" + coachCard +
                ", coachHead=" + coachHead +
                '}';
    }
}
